

export const freshWeek = () => {
    const date = new Date()
    const weekList = [
        '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'
    ]
    return weekList[date.getDay()]
}
export const freshDate = () => {
    const date = new Date()
    const day = date.getDate()
    const month = date.getMonth() + 1
    const year = date.getFullYear()
    return `${year}/${month}/${day}`
}
export const freshTime = () => {
    const date = new Date()
    const second = date.getSeconds()
    const minutes = date.getMinutes()
    const hour = date.getHours()
    return `${hour}:${minutes}:${second}`
}
